POV-Ray : Newsgroups : povray.unofficial.patches : Retaining persistent variables in MegaPov 1.0 : Re: Retaining persistent variables in MegaPov 1.0 Server Time
28 Jun 2024 16:04:39 EDT (-0400)
  Re: Retaining persistent variables in MegaPov 1.0  
From: Micheal (Mike) Williams
Date: 9 Oct 2003 08:39:32
Message: <3f855704$1@news.povray.org>
#declare_persistant = XXXX;

This seems like the best way. This would work for objects as well I would
assume. Just my thoughts.

"Christoph Hormann" <chr### [at] gmxde> wrote in message
news:jtv### [at] tritonschunteretctu-bsde...
> sups wrote:
> > Hi ABX!
> >
> > Thank you for both your replies. From your previous reply it was clear
that
> > persistent variables may not have made it to MP1.0. But in the manuals
of
> > MP1.0, nowhere it has been explicitly mentioned. Therefore I had the
> > slightest hope that this feature may be accesible in some other way. It
> > would be really nice to get this feature back since my code is not
> > compatible with MP0.7.
>
> It is not very likely that this will happen any time soon.  The
> persistence of variables patch was somewhat ugly and Nathan was probably
> the only one who really understood it.
>
> I would also prefer a different syntax for such a patch.  Like for
> example a new #persistent directive which works like #declare and #local
> but stores the data differently so it is not cleared after each frame.
>
> Christoph
>
> --
> POV-Ray tutorials, include files, Sim-POV,
> HCR-Edit and more: http://www.tu-bs.de/~y0013390/
> Last updated 2 Sep. 2003 _____./\/^>_*_<^\/\.______
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.